package com.logos.musicframe.constant;


/**
 * @author logos
 * date 2025/5/30 8:43
 * @version v1.0
 * @Package com.logos.musicframe.constant
 */
public class RedisConstant {

    public static final String KEY_SEPARATOR = ":";

    // 通配符*
    public static final String KEY_WILDCARD = "*";

    public static final String ALL_SONG = "songs:all_song";

    public static final Long EXPIRE_TIME_THREE_MINUTES = 60 * 3L;

    public static final String PHONE_CODE_PREFIX ="phone:code:";

    public static final Long CODE_ONE_MINUTES = 60L;

    public static final String USER_LOGIN_SESSION = "user:login:session:";

     public static final Long EXPIRE_TIME_ONE_MONTH = 60 * 60 * 24 * 30L;

     public static final String SONGS_DAY = "songs:day:";

     public static final Long EXPIRE_TIME_ONE_DAY = 60 * 60 * 24L;

     public static final String SONG_LIKED_USER = "song:liked:user:";

     public static final String SONG_LIKED_USER_LIST = "song:liked:user:list:";

    public static final String SONG_LIKED_COUNT = "song:liked:count:";

    public static final String SONG_RANK = "song:rank";

    public static final String PLAYLIST_CREATED_USER = "playlist:created:user:";

    public static final String PLAYLIST_COLLECTED_USER = "playlist:collected:user:";
    public static final String PLAYLIST_COLLECTED_COUNT = "playlist:collected:count:";

    public static final String PLAYLIST_ID = "playlist:id:";

    public static final String PLAYLIST_RANK = "playlist:rank";
    public static final String PLAYLIST_RECOMMEND = "playlist:recommend:";
    public static final String PLAYLIST_ALL = "playlist:all:";
    public static final String SONG_PLAY_HISTORY_USER = "song:play:history:user";
    public static final String CHAT_USER = "chat:user:";

    public static final String CHAT_HISTORY_USER = "chat:history:user:";
}
